package com.example.springlearn.bean;

public class AnsInfo {
    private Integer uid;
    private Integer qid;
    private Integer ansTime;
    private Integer errTime;
    private Boolean isTrue;

    public AnsInfo() {
    }

    public AnsInfo(Integer uid, Integer qid, Integer ansTime, Integer errTime, Boolean isTrue) {
        this.uid = uid;
        this.qid = qid;
        this.ansTime = ansTime;
        this.errTime = errTime;
        this.isTrue = isTrue;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getQid() {
        return qid;
    }

    public void setQid(Integer qid) {
        this.qid = qid;
    }

    public Integer getAnsTime() {
        return ansTime;
    }

    public void setAnsTime(Integer ansTime) {
        this.ansTime = ansTime;
    }

    public Integer getErrTime() {
        return errTime;
    }

    public void setErrTime(Integer errTime) {
        this.errTime = errTime;
    }

    public Boolean getIsTrue() {
        return isTrue;
    }

    public void setIsTrue(Boolean aTrue) {
        isTrue = aTrue;
    }

    @Override
    public String toString() {
        return "AnsInfo{" +
                "uid=" + uid +
                ", qid=" + qid +
                ", ansTime=" + ansTime +
                ", errTime=" + errTime +
                ", isTrue=" + isTrue +
                '}';
    }
}
